import datetime


# %Y-%m-%d %H:%M:%S
def get_datetime_mysql():
    now_time = str(datetime.datetime.now()).split('.')[0]
    print(now_time)
    return datetime.datetime.strptime(now_time, '%Y-%m-%d %H:%M:%S')
    